/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package perso;

/**
 *
 * @author vendome
 */
public class Etudiant extends Personne{
      private float note;

  public Etudiant(String nom, int age, float note)
  {
    super(nom,age);
    this.note = note;
  }

  public float getNote()
  {
    return this.note;
  }

  public void setNote(float val)
  {
    this.note = val;
  }

      @Override
  public String toString()
  {
    return super.toString() + ", Note: "+this.note;
  }    
          
}
